package com.ymttest.database.sharding.db.ext.model;

import java.util.Date;

public class PickUpCodePo {
    /**
     * id BIGINT(20) 必填<br>
     * 主键id
     */
    private Long id;

    /**
     * pickup_code BIGINT(19)<br>
     * 提货码
     */
    private String pickupCode;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单id
     */
    private Long orderId;

    /**
     * goods_owner_id BIGINT(19) 必填<br>
     * 货主id
     */
    private Long goodsOwnerId;

    /**
     * crete_time TIMESTAMP(19) 必填<br>
     * 创建时间
     */
    private Date creteTime;

    /**
     * update_time TIMESTAMP(19)<br>
     * 更新时间
     */
    private Date updateTime;

    /**
     * id BIGINT(20) 必填<br>
     * 获得 主键id
     */
    public Long getId() {
        return id;
    }

    /**
     * id BIGINT(20) 必填<br>
     * 设置 主键id
     */
    public void setId(Long id) {
        this.id = id;
    }

    public String getPickupCode() {
		return pickupCode;
	}

	public void setPickupCode(String pickupCode) {
		this.pickupCode = pickupCode;
	}

	/**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单id
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单id
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * goods_owner_id BIGINT(19) 必填<br>
     * 获得 货主id
     */
    public Long getGoodsOwnerId() {
        return goodsOwnerId;
    }

    /**
     * goods_owner_id BIGINT(19) 必填<br>
     * 设置 货主id
     */
    public void setGoodsOwnerId(Long goodsOwnerId) {
        this.goodsOwnerId = goodsOwnerId;
    }

    /**
     * crete_time TIMESTAMP(19) 必填<br>
     * 获得 创建时间
     */
    public Date getCreteTime() {
        return creteTime;
    }

    /**
     * crete_time TIMESTAMP(19) 必填<br>
     * 设置 创建时间
     */
    public void setCreteTime(Date creteTime) {
        this.creteTime = creteTime;
    }

    /**
     * update_time TIMESTAMP(19)<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19)<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pickupCode=").append(pickupCode);
        sb.append(", orderId=").append(orderId);
        sb.append(", goodsOwnerId=").append(goodsOwnerId);
        sb.append(", creteTime=").append(creteTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}